import request from "@/utils/request.js";

export class CommonApi {

  /**
   * 获取公钥
   */
  static getPublicKey() {
    return request({
      url: '/auth/getPublicKey',
      method: 'post',
      headers: {
        isToken: false
      },
      timeout: 10000
    });
  }
}